--Ǹʾ룬ʾAʱB
--ȻҲ...

-- üӣϵͳаϢ͵úkeyhookfunc
setkeywatch('keyhookfunc')

function keyhookfunc(keycode, controlkeycode, downorup)
-- keycode : 
-- controlkeycode : Alt Shift Ctrl ״̬
-- 1:Alt 2:Alt
-- 4:Shift 8:Shift
-- 16:Ctrl 32:Ctrl
-- Ƽλ
-- downorup:0   1 ſ
-- ֵ1:ֲټü
-- ֵ0:ּü
    if keycode==65 and downorup==0 then
        keydown(66)
        return 1   --1:,ֲٴ  0:ּ˼
    elseif keycode==65 and downorup==1 then
        keyup(66)
        return 1   --1:,ֲٴ  0:ּ˼
    end
end

